package com.ruoyi.information.mapper.back;

import java.util.List;

import com.ruoyi.information.domain.back.CloudClassroomBack;
import org.apache.ibatis.annotations.Mapper;

/**
 * 云课堂Mapper接口
 *
 * @author ruoyi
 * @date 2023-04-28
 */
@Mapper
public interface CloudClassroomBackMapper
{
    /**
     * 查询云课堂
     *
     * @param id 云课堂主键
     * @return 云课堂
     */
    public CloudClassroomBack selectCloudClassroomById(Long id);

    /**
     * 查询云课堂列表
     *
     * @param cloudClassroom 云课堂
     * @return 云课堂集合
     */
    public List<CloudClassroomBack> selectCloudClassroomList(CloudClassroomBack cloudClassroom);

    /**
     * 新增云课堂
     *
     * @param cloudClassroom 云课堂
     * @return 结果
     */
    public int insertCloudClassroom(CloudClassroomBack cloudClassroom);

    /**
     * 修改云课堂
     *
     * @param cloudClassroom 云课堂
     * @return 结果
     */
    public int updateCloudClassroom(CloudClassroomBack cloudClassroom);

    /**
     * 删除云课堂
     *
     * @param id 云课堂主键
     * @return 结果
     */
    public int deleteCloudClassroomById(Long id);

    /**
     * 批量删除云课堂
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteCloudClassroomByIds(Long[] ids);

    Integer selectCloudClassroomCount(String time);

    void deleteCloudClassroomByProjectIds(Long[] ids);

    List<String> selectCloudClassroomByProjectIdsPhotos(Long[] ids);

    List<String> selectCloudClassroomListPhotos(Long[] ids);
}
